package com.punai.externalccb.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.punai.common.core.mapper.CommonMapper;
import com.punai.externalccb.domain.EcoCbfeeitem;
import com.punai.externalccb.mysqlbo.EcoCbfeeitemPriceBo;
import org.apache.ibatis.annotations.Param;

/**
 * externalccbMapper接口
 *
 * @author zxw
 * @date 2023-04-10
 */
public interface EcoCbfeeitemMapper extends CommonMapper<EcoCbfeeitem>
{
    /**
     * 查询cbfeeitem
     *
     * @param id cbfeeitem主键
     * @return cbfeeitem
     */
    public EcoCbfeeitem selectEcoCbfeeitemById(String id);

    /**
     * 查询cbfeeitem列表
     *
     * @param ecoCbfeeitem cbfeeitem
     * @return cbfeeitem集合
     */
    public List<EcoCbfeeitem> selectEcoCbfeeitemList(EcoCbfeeitem ecoCbfeeitem);


    /**
     * 删除cbfeeitem
     *
     * @param id cbfeeitem主键
     * @return 结果
     */
    public int deleteEcoCbfeeitemById(String id);

    /**
     * 批量删除cbfeeitem
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEcoCbfeeitemByIds(String[] ids);

    List<EcoCbfeeitemPriceBo> selectByCodesAndOther(@Param("feeCodes") List<String> feeCodes,
                                                    @Param("addressList") List<String> addressList,
                                                    @Param("deptList") List<String> deptList,
                                                    @Param("paramsvo") Map<String, Object> params);


}
